package com.addzero.web.ui.hooks.tree.node_state

import com.addzero.web.ui.hooks.tree.TreeNode
import com.addzero.web.ui.hooks.tree.TreeSelectViewModel

// 节点状态接口
sealed interface NodeState {
    fun toggleSelection(node: TreeNode<*>, viewModel: TreeSelectViewModel<*>)
    fun toggleExpand(node: TreeNode<*>, viewModel: TreeSelectViewModel<*>)
}
